package com.ruoyi.produce.process.defective.service;


import com.ruoyi.produce.process.defective.domain.Defective;

import java.util.List;

/**
 * @author Drj 2021/12/20
 */
public interface IDefectiveService {
    /**
     * 次品检测记录查询
     * @param defective
     * @return
     */
    public List<Defective> selectDefectiveList(Defective defective);

    /**
     * 次品检测记录新增
     * @param defective
     * @return
     */
    public int insertDefective(Defective defective);

    /**
     * 次品检测记录更新
     * @param defective
     * @return
     */
    public int updateDefective(Defective defective);

    /**
     * 次品检测记录删除
     * @param defective
     * @return
     */
    public int deleteDefective(Defective defective);
}
